#include "head.h"


int server_cdir(int client_fd, char*cmd_argv,char *cur_path)
{

    char path[1024] = {0};
    strcat(path,cur_path);
    strcat(path,"/");
    strcat(path,cmd_argv);

    int ret=mkdir(path,0775);
    if(ret==-1)
    {
        send(client_fd,&ret,sizeof(int),MSG_NOSIGNAL);
    }
    else
    {
        send(client_fd,&ret,sizeof(int),MSG_NOSIGNAL);
    }
    return 0;
}

